This repository was archived by the owner on Nov 28, 2025. It is now read-only.
Update Sui how-to guide with corrected code and IDs#698
Merged
aditya520 merged 4 commits intopyth-network:mainfrom Jun 24, 2025
Merged
Update Sui how-to guide with corrected code and IDs#698aditya520 merged 4 commits intopyth-network:mainfrom
aditya520 merged 4 commits intopyth-network:mainfrom
Conversation
1. The assertion in the Move contract was incorrect. 2. Update the testnet pyth state id in the CLI example. 3. The TS code was deprecated. Used the latest @mysten/sui instead. 4. Added explanatory comments.
|
@Tzal3x is attempting to deploy a commit to the Pyth Network Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
Author
|
Hey @aditya520 , mind taking a look? |
Contributor
Author
|
Hi, kind reminder regarding this PR as it would be beneficial for the community. @aditya520 |
Member
|
My bad. I will review it this week. |
darunrs
approved these changes
Jun 18, 2025
Contributor
Author
|
@aditya520 the PR should be good to merge if you don't have any extra comments. |
aditya520
approved these changes
Jun 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently the Sui tutorial is not working at all. Several issues: an incorrect Move contract and the use of a deprecated Sui Typescript library. Plus incorrect use of state ids.
This PR fixes those issues by making the following changes:
@mysten/suiinstead.Type of Change
Areas Affected
https://docs.pyth.network/price-feeds/use-real-time-data/sui
Checklist
pre-commit run --all-filesto check for linting errorsRelated Issues
Closes #
Additional Notes
Contributor Information